package com.ruoyi.mobile.mapper;

import com.ruoyi.mobile.domain.LessonPrescriptionItem;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface LessonPrescriptionItemMapper {

    public List<String> getTitlesByPrescriptionId(Integer id);

    public List<LessonPrescriptionItem> getListByPrescriptionId(Integer id);

    public List<Integer> getIdListByPrescriptionId(@Param("prescriptionId") Integer prescriptionId);

    public int deleteByIds(List<Integer> list);

    public int deleteLessonPrescriptionByPrescriptionIds(Integer[] ids);

    public int insertLessonPrescriptionItem(LessonPrescriptionItem lessonPrescriptionItem);

    public int updateLessonPrescriptionItem(LessonPrescriptionItem lessonPrescriptionItem);

}
